﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cheems.Hikvision.Models
{
    /// <summary>
    /// 海康摄像机
    /// </summary>
    public class HikVideo
    {
        public HikVideo()
        {
            channel = 1; // 通道号默认为1
        }

        /// <summary>
        /// IP
        /// </summary>
        public string ip { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public int port { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string userName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string password { get; set; }

        /// <summary>
        /// 视频流地址
        /// </summary>
        public string rtsp { get; set; }

        /// <summary>
        /// 录像机通道编号
        /// </summary>
        public int dvrChannel {  get; set; }

        /// <summary>
        /// 通道号
        /// </summary>
        public int channel { get; set; }
    }
}
